extends Node

# class member variables go here, for example:
# var a = 2
# var b = "textvar"
var title
var battle

func _ready():
	title=load("res://标题画面.tscn").instance()
	add_child(title)
	title.connect("startGame",self,"onTitleStart")
	pass
	
func onTitleStart():
	title.queue_free()
	battle=load("res://Battle.tscn").instance()
	add_child(battle)
	pass
func _process(delta):
	
	pass
